package com.lsc.www.day08.implTest;

public class Cat extends Animal implements Flyble , Swim{
    public static void main(String[] args) {
        Flyble f = new Cat();
        f.fly();
        Swim s = new Cat();
        s.swim();
    }

    @Override
    public void fly() {
        System.out.println("飞猫起飞，很神奇");
    }

    @Override
    public void swim() {
        System.out.println("猫在游泳");
    }
}
